import 'xe-utils'
import Vue from 'vue'
import XEUtils from 'xe-utils/methods/xe-utils'
import objectMethods from 'xe-utils/methods/object'
import arrayMethods from 'xe-utils/methods/array'
import baseMethods from 'xe-utils/methods/base'
import numberMethods from 'xe-utils/methods/number'
import dateMethods from 'xe-utils/methods/date'
import stringMethods from 'xe-utils/methods/string'
import functionMethods from 'xe-utils/methods/function'
import urlMethods from 'xe-utils/methods/url'
import browseMethods from 'xe-utils/methods/browse'

XEUtils.mixin(
  // object
  objectMethods,
  // array
  arrayMethods,
  // base
  baseMethods,
  // number
  numberMethods,
  // date
  dateMethods,
  // string
  stringMethods,
  // function
  functionMethods,
  // url
  urlMethods,
  // browse
  browseMethods
)
Vue.prototype.$xeutils = XEUtils
